package com.neusoft.bizcore.activiti.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.activiti.model.WorkOrder;
import com.neusoft.bizcore.web.support.Searchable;

public interface CustomizedWorkOrderRepository {

    List<WorkOrder> search(Searchable searchable);

    Page<WorkOrder> search(Pageable pageable, Searchable searchable);

    long count(Searchable searchable);
}
